package cn.xin.base.service;

import cn.xin.base.dto.PhoneRegisterDto;
import cn.xin.base.dto.SmsCodeDto;

import java.io.IOException;

public interface VerifyCodeService {
    //图形验证码
    String imageCode(String imageCodeKey) throws IOException;

    //手机验证码
    void smsCode(SmsCodeDto smsCodeDto);

    //手机注册
    void phoneRegister(PhoneRegisterDto phoneRegisterDto);
}
